<!-- 主页的模态框登录界面，控制器为appjs里面的ModalLoginCtrl -->
<div class="panel panel-success" >
  	<div class="panel-heading text-center">
    	<h1>登录</h1>
  	</div>
  	<div class="panel-body">
		<!--昵称文本框 -->
		<div class="form-group ">
			<div  class="input-group" ng-class="{'has-error':isNameErr}">
			<!--glyphicon 具有top：1 -->
				<span class="input-group-addon glyphicon glyphicon-user" style="top:0px" ></span>
				<input autofocus ng-keyup="myKeyup($event)" style="vertical-align:middle;"  class="form-control" placeholder="{{nametip}}" ng-model="loginUser.LoginName">
			</div> 
		</div>
		<!-- 密码输入 -->
		<div class="form-group ">
			<div  class="input-group" ng-class="{'has-error':isPwordErr}">
			<!--glyphicon 具有top：1 -->
				<span class="input-group-addon glyphicon glyphicon-lock" style="top:0px" ></span>
				<input autofocus type="password" ng-keyup="myKeyup($event)" style="vertical-align:middle;"  class="form-control " placeholder="{{pwordtip}}" ng-model="loginUser.Pword">
			</div> 
		</div>
		<!-- 登录按钮 -->
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-8">
				<button ng-click="login()" type="button" class="btn btn-success btn-lg btn-block">登录</button>
			</div>
		</div>
  	</div>
 </div>